<!DOCTYPE >
<html lang="zh-cn">
<head>
		<title>后台管理-功能</title>
    <% include ../partials/head %>
    <script src="/js/admin/topic.js"></script>

</head>
<body>
	<header>
    <% include ../partials/header %>
  </header>
  <div class="ch-container">
    <div class="row">
      <% include ../partials/sidebar %>
      <!-- 页面内容 -->
      <div id="content" class="col-lg-10 col-sm-10">
        <div class="row">
          <ul class="breadcrumb">
            <li>
                <a href="/admin/topic">专题管理</a>
            </li>
            <li>
                <a href="">查看</a>
            </li>
          </ul>
        </div>

        <% if (typeof errMsg != "undefined") { %>
        <div class="alert alert-danger">
            <button type="button" class="close" data-dismiss="alert">&times;</button>
            <strong><%= errMsg %></strong>
        </div>
        <% } %>

        <div class="row">
          <div class="box col-md-12">
            <div class="box-inner">
              <div class="box-header well" data-original-title="">
                <h2><i class="glyphicon glyphicon-edit"></i> 查看专题 </h2>
              </div>

              <div class="box-content">
              <div class="form-group">
                  <label>标题:</label>
                    <label> <%= topic.get("title") %> </label>
                </div>
                <div class="form-group">
                    <label>标题图片:</label>
                    <% if (topic.get("title_img")) { %>
                    <div class="thumbnail">
                      <img class="grayscale" src=<%= topic.get("title_img")._url %> >
                    </div>
                    <% } %>
                </div>
                <input type="hidden" name="objectId" id="topicId" value=<%= topic.id %> >

                <div>
                  <button class="btn btn-danger pull-right" id="disableTopic" ><i class="glyphicon glyphicon-trash"></i> 禁用</a>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>

    </div>

    <% include ../partials/footer %>
  </div>
  <% include ../partials/external %>
</body>
</html>
